package net.wendal.nutzbook.module;

import org.nutz.dao.Dao;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.lang.random.R;
import org.nutz.log.Log;
import org.nutz.log.Logs;

import net.wendal.nutzbook.service.EmailService;

public abstract class BaseModule {
	protected static final Log log = Logs.get();
	
	/** 注入同名的一个ioc对象 */
	@Inject protected Dao dao;
	@Inject protected EmailService emailService;

	protected byte[] emailKEY = R.sg(24).next().getBytes();

}
